<div class="header">
    <div class="wrapper clearfix">
        <div class="logo fl"><a href="/"><img src="<?= $this->__STATIC__?>images/logo.png"></a></div>
        <div class="san fr">
            <span></span>
            <span></span>
            <span></span>
        </div>
        <div class="btn fr bdsharebuttonbox">
            <a href="#" class="bds_more" data-cmd="more"></a>
            <a href="/en" class="en">En</a>
        </div>
        <div class="nav fr">
            <ul class="clearfix">
                <li class="<?= in_array($this->url, array('/', '/index')) ? 'cur' : ''?>"><a href="/"><span>HOME</span>首 页</a></li>
                <?php
                foreach ($this->aryCategoryDataView as $_k1 => $_v1):
                    if ($_k1 > 0 && $_v1['language'] == 0):
                        $_tmpLink = App\Tools\UrlHelper::getTypeUrl($this->aryCategoryDataView, $_v1['id_tree']);
                        //去除最后一个斜杠
                        $_tmpLink = rtrim($_tmpLink, "/");
                        $_sltMenu = App\Tools\Auxi::compareSelect($_k1, $this->rootId, 'cur', '');
                        ?>
                        <li <?= $_sltMenu ?>><a href="<?= $_tmpLink ?>"><span><?= $_v1['category_name_english'] ?></span><?= $_v1['category_name'] ?></a>
                        </li>
                        <?php
                    endif;
                endforeach;
                ?>
            </ul>
        </div>
    </div>
</div>
